﻿<%@ Control Language="VB" AutoEventWireup="false" CodeFile="WebUserControl.ascx.vb"
    Inherits="Apps_Shares_WebUserControl" %>
<asp:FormView ID="FormView1" runat="server" DataKeyNames="id" DataSourceID="SqlDataSource1"
    EnableModelValidation="True">
    <EditItemTemplate>
        id:
        <asp:Label ID="idLabel1" runat="server" Text='<%# Eval("id") %>' />
        <br />
        dstring:
        <asp:TextBox ID="dstringTextBox" runat="server" Text='<%# Bind("dstring") %>' />
        <br />
        dbool:
        <asp:CheckBox ID="dboolCheckBox" runat="server" Checked='<%# Bind("dbool") %>' />
        <br />
        dint:
        <asp:TextBox ID="dintTextBox" runat="server" Text='<%# Bind("dint") %>' />
        <br />
        ddecimal:
        <asp:TextBox ID="ddecimalTextBox" runat="server" Text='<%# Bind("ddecimal") %>' />
        <br />
        status:
        <asp:TextBox ID="statusTextBox" runat="server" Text='<%# Bind("status") %>' />
        <br />
        createdate:
        <asp:TextBox ID="createdateTextBox" runat="server" Text='<%# Bind("createdate") %>' />
        <br />
        updatedate:
        <asp:TextBox ID="updatedateTextBox" runat="server" Text='<%# Bind("updatedate") %>' />
        <br />
        <asp:LinkButton ID="UpdateButton" runat="server" CausesValidation="True" CommandName="Update"
            Text="Update" />
        &nbsp;<asp:LinkButton ID="UpdateCancelButton" runat="server" CausesValidation="False"
            CommandName="Cancel" Text="Cancel" />
    </EditItemTemplate>
    <InsertItemTemplate>
        dstring:
        <asp:TextBox ID="dstringTextBox" runat="server" Text='<%# Bind("dstring") %>' />
        <br />
        dbool:
        <asp:CheckBox ID="dboolCheckBox" runat="server" Checked='<%# Bind("dbool") %>' />
        <br />
        dint:
        <asp:TextBox ID="dintTextBox" runat="server" Text='<%# Bind("dint") %>' />
        <br />
        ddecimal:
        <asp:TextBox ID="ddecimalTextBox" runat="server" Text='<%# Bind("ddecimal") %>' />
        <br />
        status:
        <asp:TextBox ID="statusTextBox" runat="server" Text='<%# Bind("status") %>' />
        <br />
        createdate:
        <asp:TextBox ID="createdateTextBox" runat="server" Text='<%# Bind("createdate") %>' />
        <br />
        updatedate:
        <asp:TextBox ID="updatedateTextBox" runat="server" Text='<%# Bind("updatedate") %>' />
        <br />
        <asp:LinkButton ID="InsertButton" runat="server" CausesValidation="True" CommandName="Insert"
            Text="Insert" />
        &nbsp;<asp:LinkButton ID="InsertCancelButton" runat="server" CausesValidation="False"
            CommandName="Cancel" Text="Cancel" />
    </InsertItemTemplate>
    <ItemTemplate>
        id:
        <asp:Label ID="idLabel" runat="server" Text='<%# Eval("id") %>' />
        <br />
        dstring:
        <asp:Label ID="dstringLabel" runat="server" Text='<%# Bind("dstring") %>' />
        <br />
        dbool:
        <asp:CheckBox ID="dboolCheckBox" runat="server" Checked='<%# Bind("dbool") %>' Enabled="false" />
        <br />
        dint:
        <asp:Label ID="dintLabel" runat="server" Text='<%# Bind("dint") %>' />
        <br />
        ddecimal:
        <asp:Label ID="ddecimalLabel" runat="server" Text='<%# Bind("ddecimal") %>' />
        <br />
        status:
        <asp:Label ID="statusLabel" runat="server" Text='<%# Bind("status") %>' />
        <br />
        createdate:
        <asp:Label ID="createdateLabel" runat="server" Text='<%# Bind("createdate") %>' />
        <br />
        updatedate:
        <asp:Label ID="updatedateLabel" runat="server" Text='<%# Bind("updatedate") %>' />
        <br />
    </ItemTemplate>
</asp:FormView>
<asp:SqlDataSource ID="SqlDataSource1" runat="server" ConnectionString="<%$ ConnectionStrings:ApplicationServices %>"
    SelectCommand="SELECT * FROM [dummy2]"></asp:SqlDataSource>
